package com.isdepci.project.result.domain;

import com.isdepci.framework.aspectj.lang.annotation.Excel;
import com.isdepci.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import java.math.BigDecimal;

/**
 * 按能源划分对象 tpf_energy_breakdown
 *
 * @author isdepci
 * @date 2023-09-05
 */
public class EnergyBreakdown extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 能源类型(1-燃料/2-电力/3-蒸汽/4-冷力) */
    @Excel(name = "能源类型(1-燃料/2-电力/3-蒸汽/4-冷力)")
    private Integer energyType;

    /** 兆瓦时 */
    @Excel(name = "兆瓦时")
    private BigDecimal mWh;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setEnergyType(Integer energyType)
    {
        this.energyType = energyType;
    }

    public Integer getEnergyType()
    {
        return energyType;
    }
    public void setmWh(BigDecimal mWh)
    {
        this.mWh = mWh;
    }

    public BigDecimal getmWh()
    {
        return mWh;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("energyType", getEnergyType())
            .append("mWh", getmWh())
            .toString();
    }
}
